//
//  Tool.m
//  MJApp
//
//  Created by John on 15/5/12.
//  Copyright (c) 2015年 wangliang. All rights reserved.
//

#import "Tool.h"

@implementation Tool
+ (id)initVcWithStoryBoardName:(NSString *)storyBoardName andStoryBoardID:(NSString *)StoryID{
    UIStoryboard * story = [UIStoryboard storyboardWithName:storyBoardName bundle:nil];
    id Vc = [story instantiateViewControllerWithIdentifier:StoryID];
    return Vc;
    
}
@end
